
// bar  = exports
const bar = require('./bar')
const { name, age, say } = require('./bar')

// console.log(bar.name)
// console.log(bar.age)

console.log(name)
console.log(age)
say('main-bar')

setTimeout(() => {
  console.log(bar.name)
}, 2000)